package my.collections;

public interface Iterator<E> {
	//return true if the iteration has more elements
	boolean hasNext();
	
	//return the next element in the iteration
	E next();
	
	//remove the last element returned by the iterator
	void remove();
}
